3.1112 \(\int \frac {\tan ^{-1}(a x)^n}{c+a^2 c x^2} \, dx\)

Optimal. Leaf size=20 \[ \frac {\tan ^{-1}(a x)^{n+1}}{a c (n+1)} \]

[Out]

arctan(a*x)^(1+n)/a/c/(1+n)

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {4884} \[ \frac {\tan ^{-1}(a x)^{n+1}}{a c (n+1)} \]

Antiderivative was successfully verified.

[In]

Int[ArcTan[a*x]^n/(c + a^2*c*x^2),x]

[Out]

ArcTan[a*x]^(1 + n)/(a*c*(1 + n))

Rule 4884

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)/((d_) + (e_.)*(x_)^2), x_Symbol] :> Simp[(a + b*ArcTan[c*x])^(p +
 1)/(b*c*d*(p + 1)), x] /; FreeQ[{a, b, c, d, e, p}, x] && EqQ[e, c^2*d] && NeQ[p, -1]

Rubi steps

\begin {align*} \int \frac {\tan ^{-1}(a x)^n}{c+a^2 c x^2} \, dx &=\frac {\tan ^{-1}(a x)^{1+n}}{a c (1+n)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 20, normalized size = 1.00 \[ \frac {\tan ^{-1}(a x)^{n+1}}{a c (n+1)} \]

Antiderivative was successfully verified.

[In]

Integrate[ArcTan[a*x]^n/(c + a^2*c*x^2),x]

[Out]

ArcTan[a*x]^(1 + n)/(a*c*(1 + n))

________________________________________________________________________________________

fricas [A]  time = 0.60, size = 21, normalized size = 1.05 \[ \frac {\arctan \left (a x\right )^{n} \arctan \left (a x\right )}{a c n + a c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arctan(a*x)^n/(a^2*c*x^2+c),x, algorithm="fricas")

[Out]

arctan(a*x)^n*arctan(a*x)/(a*c*n + a*c)

________________________________________________________________________________________

giac [A]  time = 0.12, size = 20, normalized size = 1.00 \[ \frac {\arctan \left (a x\right )^{n + 1}}{a c {\left (n + 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arctan(a*x)^n/(a^2*c*x^2+c),x, algorithm="giac")

[Out]

arctan(a*x)^(n + 1)/(a*c*(n + 1))

________________________________________________________________________________________

maple [A]  time = 0.07, size = 21, normalized size = 1.05 \[ \frac {\arctan \left (a x \right )^{1+n}}{a c \left (1+n \right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(arctan(a*x)^n/(a^2*c*x^2+c),x)

[Out]

arctan(a*x)^(1+n)/a/c/(1+n)

________________________________________________________________________________________

maxima [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: RuntimeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arctan(a*x)^n/(a^2*c*x^2+c),x, algorithm="maxima")

[Out]

Exception raised: RuntimeError >> ECL says: Error executing code in Maxima: expt: undefined: 0 to a negative e
xponent.

________________________________________________________________________________________

mupad [B]  time = 0.36, size = 20, normalized size = 1.00 \[ \frac {{\mathrm {atan}\left (a\,x\right )}^{n+1}}{a\,c\,\left (n+1\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(atan(a*x)^n/(c + a^2*c*x^2),x)

[Out]

atan(a*x)^(n + 1)/(a*c*(n + 1))

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {\operatorname {atan}^{n}{\left (a x \right )}}{a^{2} x^{2} + 1}\, dx}{c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(atan(a*x)**n/(a**2*c*x**2+c),x)

[Out]

Integral(atan(a*x)**n/(a**2*x**2 + 1), x)/c

________________________________________________________________________________________